package com.mianyang.zhangsan.common.constant;

/**
 * 常量
 * @author jiangjr
 * @date 2022-11-14
 */
public class SecConstant {

    /**
     * 登录方法
     */
    public static final String SEC_LOGIN_ADDR = "login";

    /**
     * 操作员标识
     */
    public static final String OPERATION_MAN = "OPERATION_MAN";


    public static final String COMPANY_IDENTITY = "mianyang666";

    public static final String MAIL_SUBJECT_EXPIRE = "任务过期";

    public static final String MAIL_SENDER_COMPANY = "张三科技有限公司";

    public static final String MAIL_SUBJECT_UP_CARD = "上班打卡";

    public static final String MAIL_SUBJECT_DOWN_CARD = "下班打卡";

    public static final String SEC_COMPANY_NAME = "张三科技有限公司";

    public static final String SEC_REDIS_BANK_KEY = "BANK_KEY";

    public static final String SEC_TEMPLATE_PAPER_PREFIX = "paper";

    public static final String SEC_TEMPLATE_PROBLEM_PREFIX = "problem";

    public static final String SEC_TEMPLATE_ANSWER_PREFIX = "answer";

    public static final String SEC_KEEP_LIVE_KEY = "keep-live";

    public static final long SEC_KEEP_LIVE = 60 * 5;

    public static final long SEC_LOGIN_EXPIRE = 60 * 30;

    public static final String CACHE_KEY_PREFIX = "sec_";
    public static final String CACHE_KEY_SEPARATE = "^";
    public static final String CACHE_DATA_LABEL = "sec_static_data";

    public static final String BASE_EXPORT_TEMPLATE = "http://192.168.23.101:9090/mianyang/xxx.docx";
    public static final String DEFAULT_BUCKET = "mianyang";

    // 视频类型
    public static final int VIDEO_FILE_TYPE = 1;
    // 文档类型
    public static final int DOCX_FILE_TYPE = 2;
    // 图片类型
    public static final int IMG_FILE_TYPE = 3;

    public static final String DEFAULT_VIDEO_IMG = "http://192.168.23.101:9090/mianyang/%E5%B0%81%E9%9D%A2.png";

    public static final String DEFAULT_PAPER_TEMPLATE = "http://192.168.23.101:9090/mianyang/basePaperTemplate.docx";

    public static final String[] CHOOSE_OF_CHAR = {"A", "B", "C", "D", "E", "F"};
}
